<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  
  <title>清峰小栈</title>
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
  
  
  
  
  <meta name="description" content="你知道的越多，你不知道的越多！">
<meta property="og:type" content="website">
<meta property="og:title" content="清峰小栈">
<meta property="og:url" content="http://example.com/page/3/index.html">
<meta property="og:site_name" content="清峰小栈">
<meta property="og:description" content="你知道的越多，你不知道的越多！">
<meta property="og:locale" content="en_US">
<meta property="article:author" content="清峰">
<meta name="twitter:card" content="summary">
  

  

  <link rel="icon" href="/qingfeng-blog/css/images/mylogo-2.png">
  <link rel="apple-touch-icon" href="/qingfeng-blog/css/images/mylogo-2.png">
  
    <link href="//fonts.googleapis.com/css?family=Source+Code+Pro" rel="stylesheet" type="text/css">
  
  <link href="https://fonts.googleapis.com/css?family=Open+Sans|Montserrat:700" rel="stylesheet" type="text/css">
  <link href="https://fonts.googleapis.com/css?family=Roboto:400,300,300italic,400italic" rel="stylesheet" type="text/css">
  <!-- <link href="//netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.css" rel="stylesheet"> -->
  <link href="/qingfeng-blog/css/font-awesome.css" rel="stylesheet">
  <style type="text/css">
    @font-face{font-family:futura-pt; src:url("/qingfeng-blog/css/fonts/FuturaPTBold.otf") format("woff");font-weight:500;font-style:normal;}
    @font-face{font-family:futura-pt-light; src:url("/qingfeng-blog/css/fonts/FuturaPTBook.otf") format("woff");font-weight:lighter;font-style:normal;}
    @font-face{font-family:futura-pt-italic; src:url("/qingfeng-blog/css/fonts/FuturaPTBookOblique.otf") format("woff");font-weight:400;font-style:italic;}
}

  </style>
  
<link rel="stylesheet" href="/qingfeng-blog/css/style.css">


  
<script src="/qingfeng-blog/js/jquery-3.1.1.min.js"></script>

  
<script src="/qingfeng-blog/js/bootstrap.js"></script>


  <!-- Bootstrap core CSS -->
  <link rel="stylesheet" href="/qingfeng-blog/css/bootstrap.css" >

  
    <link rel="stylesheet" href="/qingfeng-blog/css/home.css" >
  

  

  
    <link rel="stylesheet" href="/qingfeng-blog/css/header-post.css" >
  

  
  
  
    <link rel="stylesheet" href="/qingfeng-blog/css/vdonate.css" >
  

<meta name="generator" content="Hexo 6.3.0"></head>



  <body>


  
  <div id="container">
    <div id="wrap">
      
        <header>

    <div id="allheader" class="navbar navbar-default navbar-static-top" role="navigation">
        <div class="navbar-inner">
          
          <div class="container"> 
            <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
              <span class="sr-only">Toggle navigation</span>
              <span class="icon-bar"></span>
              <span class="icon-bar"></span>
              <span class="icon-bar"></span>
            </button>

            
              <a class="brand" style="
                 border-width: 0px;  margin-top: 0px;"  
                 >
                  <img width="155px" height="90px" alt="Hike News" src="/qingfeng-blog/css/images/mylogo-2.png">
              </a>
            
            
            <div class="navbar-collapse collapse">
              <ul class="hnav navbar-nav">
                
                  <li> <a class="main-nav-link" href="/qingfeng-blog/">首页</a> </li>
                
                  <li> <a class="main-nav-link" href="/qingfeng-blog/categories">分类</a> </li>
                
                  <li> <a class="main-nav-link" href="/qingfeng-blog/tags">标签</a> </li>
                
                  <li><div id="search-form-wrap">

    <form class="search-form">
        <input type="text" class="ins-search-input search-form-input" placeholder="" />
        <button type="submit" class="search-form-submit"></button>
    </form>
    <div class="ins-search">
    <div class="ins-search-mask"></div>
    <div class="ins-search-container">
        <div class="ins-input-wrapper">
            <input type="text" class="ins-search-input" placeholder="Type something..." />
            <span class="ins-close ins-selectable"><i class="fa fa-times-circle"></i></span>
        </div>
        <div class="ins-section-wrapper">
            <div class="ins-section-container"></div>
        </div>
    </div>
</div>
<script>
(function (window) {
    var INSIGHT_CONFIG = {
        TRANSLATION: {
            POSTS: 'Posts',
            PAGES: 'Pages',
            CATEGORIES: 'Categories',
            TAGS: 'Tags',
            UNTITLED: '(Untitled)',
        },
        ROOT_URL: '/qingfeng-blog/',
        CONTENT_URL: '/qingfeng-blog/content.json',
    };
    window.INSIGHT_CONFIG = INSIGHT_CONFIG;
})(window);
</script>

<script src="/qingfeng-blog/js/insight.js"></script>


</div></li>
            </div>
          </div>
                
      </div>
    </div>

</header>



      
            
      <div id="content" class="outer">
        
          <section id="main" style="float:none;">
  
    <article id="post-Docker/Docker介绍"  class="article article-type-post" itemscope itemprop="blogPost" >
<div id="container">
  <div id="articleInner" class="article-inner">
    
    
      <header class="article-header">
        
  
    <h1 class="thumb" itemprop="name">
      <a class="article-title" href="/qingfeng-blog/2022/01/27/Docker/Docker%E4%BB%8B%E7%BB%8D/">Docker介绍</a>
    </h1>
  

      </header>
    
    <div class="article-meta">
      
	<a href="/qingfeng-blog/2022/01/27/Docker/Docker%E4%BB%8B%E7%BB%8D/" class="article-date">
	  <time datetime="2022-01-27T06:41:55.150Z" itemprop="datePublished">2022-01-27</time>
	</a>

      
    <a class="article-category-link" href="/qingfeng-blog/categories/Docker/">Docker</a>

      
      

    </div>
    <div class="article-entry" itemprop="articleBody">
      
        <p class="article-excerpt-content">
          
更新中….

一、docker安装1、yum 包更新到最新 
1yum update

2、安装需要的软件包， yum-util 提供yum-config-manager功能，另外两个是devicemapper驱动依赖的 
1yum install -y yum-utils device-mapper-persistent-data lvm2

3、 设置yum源
1yum-config-manager --add-repo https://download.docker.com/lin...
        </p>
        <p class="article-more-link">
          <a href="/qingfeng-blog/2022/01/27/Docker/Docker%E4%BB%8B%E7%BB%8D/#more">Read More</a>
        </p>
      
    </div>
    <footer class="article-footer">
      
      
      
      

    </footer>
  </div>
</div>
  
</article>

<!-- Table of Contents -->



  
    <article id="post-Linux/Java 开发常用的 Linux 命令"  class="article article-type-post" itemscope itemprop="blogPost" >
<div id="container">
  <div id="articleInner" class="article-inner">
    
    
      <header class="article-header">
        
  
    <h1 class="thumb" itemprop="name">
      <a class="article-title" href="/qingfeng-blog/2021/11/30/Linux/Java%20%E5%BC%80%E5%8F%91%E5%B8%B8%E7%94%A8%E7%9A%84%20Linux%20%E5%91%BD%E4%BB%A4/">Java 开发常用的 Linux 命令</a>
    </h1>
  

      </header>
    
    <div class="article-meta">
      
	<a href="/qingfeng-blog/2021/11/30/Linux/Java%20%E5%BC%80%E5%8F%91%E5%B8%B8%E7%94%A8%E7%9A%84%20Linux%20%E5%91%BD%E4%BB%A4/" class="article-date">
	  <time datetime="2021-11-30T01:37:25.807Z" itemprop="datePublished">2021-11-30</time>
	</a>

      
    <a class="article-category-link" href="/qingfeng-blog/categories/Linux/">Linux</a>

      
      

    </div>
    <div class="article-entry" itemprop="articleBody">
      
        <p class="article-excerpt-content">
          Java 开发常用的 Linux 命令知识积累
基本操作

Linux关机,重启

查看系统,CPU信息

建立软连接

rpm相关

sshkey

命令重命名

同步服务器时间

后台运行命令

强制活动用户退出

查看命令路径

查看进程所有打开最大fd数

配置dns

nslookup,查看域名路由表

last, 最近登录信息列表

设置固定ip

查看进程内加载的环境变量

查看进程树找到服务器进程

查看进程启动路径

添加用户, 配置sudo权限

强制关闭进程名包含xx...
        </p>
        <p class="article-more-link">
          <a href="/qingfeng-blog/2021/11/30/Linux/Java%20%E5%BC%80%E5%8F%91%E5%B8%B8%E7%94%A8%E7%9A%84%20Linux%20%E5%91%BD%E4%BB%A4/#more">Read More</a>
        </p>
      
    </div>
    <footer class="article-footer">
      
      
      
      

    </footer>
  </div>
</div>
  
</article>

<!-- Table of Contents -->



  
    <article id="post-运维安装/Linux安装mongo主从模式"  class="article article-type-post" itemscope itemprop="blogPost" >
<div id="container">
  <div id="articleInner" class="article-inner">
    
    
      <header class="article-header">
        
  
    <h1 class="thumb" itemprop="name">
      <a class="article-title" href="/qingfeng-blog/2021/09/14/%E8%BF%90%E7%BB%B4%E5%AE%89%E8%A3%85/Linux%E5%AE%89%E8%A3%85mongo%E4%B8%BB%E4%BB%8E%E6%A8%A1%E5%BC%8F/">Linux安装mongo主从模式</a>
    </h1>
  

      </header>
    
    <div class="article-meta">
      
	<a href="/qingfeng-blog/2021/09/14/%E8%BF%90%E7%BB%B4%E5%AE%89%E8%A3%85/Linux%E5%AE%89%E8%A3%85mongo%E4%B8%BB%E4%BB%8E%E6%A8%A1%E5%BC%8F/" class="article-date">
	  <time datetime="2021-09-14T14:24:06.000Z" itemprop="datePublished">2021-09-14</time>
	</a>

      
    <a class="article-category-link" href="/qingfeng-blog/categories/Linux/">Linux</a>

      
      

    </div>
    <div class="article-entry" itemprop="articleBody">
      
        <p class="article-excerpt-content">
          Linux-Mongo集群模式之主从+副本集一、知识沉淀：Mongodb的replication主要有两种：主从和副本集（replica set）。现在mongodb官方建议用副本集替代主从复制。
什么是oplog：
　　MongoDB 的Replication是通过一个日志来存储写操作的，这个日志就叫做oplog。 在默认情况下,oplog分配的是5%的空闲磁盘空间。通常而言,这是一种合理的设置。可以通过mongod –oplogSize来改变oplog的日志大小。
主从复制：主从的原理...
        </p>
        <p class="article-more-link">
          <a href="/qingfeng-blog/2021/09/14/%E8%BF%90%E7%BB%B4%E5%AE%89%E8%A3%85/Linux%E5%AE%89%E8%A3%85mongo%E4%B8%BB%E4%BB%8E%E6%A8%A1%E5%BC%8F/#more">Read More</a>
        </p>
      
    </div>
    <footer class="article-footer">
      
      
      
      

    </footer>
  </div>
</div>
  
</article>

<!-- Table of Contents -->



  
    <article id="post-运维安装/MongoDB的安装配置与开启审计日志"  class="article article-type-post" itemscope itemprop="blogPost" >
<div id="container">
  <div id="articleInner" class="article-inner">
    
    
      <header class="article-header">
        
  
    <h1 class="thumb" itemprop="name">
      <a class="article-title" href="/qingfeng-blog/2021/09/11/%E8%BF%90%E7%BB%B4%E5%AE%89%E8%A3%85/MongoDB%E7%9A%84%E5%AE%89%E8%A3%85%E9%85%8D%E7%BD%AE%E4%B8%8E%E5%BC%80%E5%90%AF%E5%AE%A1%E8%AE%A1%E6%97%A5%E5%BF%97/">MongoDB的安装配置与开启审计日志</a>
    </h1>
  

      </header>
    
    <div class="article-meta">
      
	<a href="/qingfeng-blog/2021/09/11/%E8%BF%90%E7%BB%B4%E5%AE%89%E8%A3%85/MongoDB%E7%9A%84%E5%AE%89%E8%A3%85%E9%85%8D%E7%BD%AE%E4%B8%8E%E5%BC%80%E5%90%AF%E5%AE%A1%E8%AE%A1%E6%97%A5%E5%BF%97/" class="article-date">
	  <time datetime="2021-09-11T09:12:42.000Z" itemprop="datePublished">2021-09-11</time>
	</a>

      
    <a class="article-category-link" href="/qingfeng-blog/categories/Linux/">Linux</a>

      
      

    </div>
    <div class="article-entry" itemprop="articleBody">
      
        <p class="article-excerpt-content">
          MongoDB的安装配置与开启审计日志
欢迎来到知道的越多，不知道的越多系列！

1、Mongo的安装教程（Linux）1、下载安装包
https://www.mongodb.com/download-center/community2、上传安装包3、解压，移动
12tar -zxvf mongodb-linux-x86_64-4.0.6.tgzmv ./mongodb-linux-x86_64-4.0.6 /usr/local/mongodb
4、进去mongodb文件夹
1cd /us...
        </p>
        <p class="article-more-link">
          <a href="/qingfeng-blog/2021/09/11/%E8%BF%90%E7%BB%B4%E5%AE%89%E8%A3%85/MongoDB%E7%9A%84%E5%AE%89%E8%A3%85%E9%85%8D%E7%BD%AE%E4%B8%8E%E5%BC%80%E5%90%AF%E5%AE%A1%E8%AE%A1%E6%97%A5%E5%BF%97/#more">Read More</a>
        </p>
      
    </div>
    <footer class="article-footer">
      
      
      
      

    </footer>
  </div>
</div>
  
</article>

<!-- Table of Contents -->



  
    <article id="post-运维安装/Linux安装mysql"  class="article article-type-post" itemscope itemprop="blogPost" >
<div id="container">
  <div id="articleInner" class="article-inner">
    
    
      <header class="article-header">
        
  
    <h1 class="thumb" itemprop="name">
      <a class="article-title" href="/qingfeng-blog/2021/09/11/%E8%BF%90%E7%BB%B4%E5%AE%89%E8%A3%85/Linux%E5%AE%89%E8%A3%85mysql/">Linux安装mysql</a>
    </h1>
  

      </header>
    
    <div class="article-meta">
      
	<a href="/qingfeng-blog/2021/09/11/%E8%BF%90%E7%BB%B4%E5%AE%89%E8%A3%85/Linux%E5%AE%89%E8%A3%85mysql/" class="article-date">
	  <time datetime="2021-09-11T03:28:22.000Z" itemprop="datePublished">2021-09-11</time>
	</a>

      
    <a class="article-category-link" href="/qingfeng-blog/categories/Linux/">Linux</a>

      
      

    </div>
    <div class="article-entry" itemprop="articleBody">
      
        <p class="article-excerpt-content">
          安装mysql步骤
如果系统之前⾃带 Mariadb ，可以先卸载之。
⾸先查询已安装的 Mariadb 安装包：
rpm -qa|grep mariadb
将其均卸载之：
yum -y remove mariadb-server-5.5.56-2.el7.x86_64
yum -y remove mariadb-5.5.56-2.el7.x86_64
yum -y remove mariadb-devel-5.5.56-2.el7.x86_64
yum -y remove mariadb...
        </p>
        <p class="article-more-link">
          <a href="/qingfeng-blog/2021/09/11/%E8%BF%90%E7%BB%B4%E5%AE%89%E8%A3%85/Linux%E5%AE%89%E8%A3%85mysql/#more">Read More</a>
        </p>
      
    </div>
    <footer class="article-footer">
      
      
      
      

    </footer>
  </div>
</div>
  
</article>

<!-- Table of Contents -->



  
    <article id="post-Linux/Rsync定时同步+异地备份"  class="article article-type-post" itemscope itemprop="blogPost" >
<div id="container">
  <div id="articleInner" class="article-inner">
    
    
      <header class="article-header">
        
  
    <h1 class="thumb" itemprop="name">
      <a class="article-title" href="/qingfeng-blog/2021/08/17/Linux/Rsync%E5%AE%9A%E6%97%B6%E5%90%8C%E6%AD%A5+%E5%BC%82%E5%9C%B0%E5%A4%87%E4%BB%BD/">Rsync定时同步+异地备份</a>
    </h1>
  

      </header>
    
    <div class="article-meta">
      
	<a href="/qingfeng-blog/2021/08/17/Linux/Rsync%E5%AE%9A%E6%97%B6%E5%90%8C%E6%AD%A5+%E5%BC%82%E5%9C%B0%E5%A4%87%E4%BB%BD/" class="article-date">
	  <time datetime="2021-08-17T09:50:44.000Z" itemprop="datePublished">2021-08-17</time>
	</a>

      
    <a class="article-category-link" href="/qingfeng-blog/categories/Linux/">Linux</a>

      
      

    </div>
    <div class="article-entry" itemprop="articleBody">
      
        <p class="article-excerpt-content">
          Rsync定时同步+异地备份​	简介：Rsync是unix系统下的一个数据备份工具。可实现本地文件的拷贝，与远程文件的同步传输。

特点：
1、Rsync安装便捷，使用方便。
2、传输过程中以压缩解压形式，减少带宽占用。
3、能更新整个文件数。
4、安全，能用 rsh、ssh 或直接端口做为传输端口，或者 socket 连接。
5、亮点是免费。

​	简单来讲Rcync的目的是实现两台主机上的文件同步。（包括本机推送远程文件，远程拉取本机文件两种方式）
​	嗯哼，两台主机的文件同步这就涉及...
        </p>
        <p class="article-more-link">
          <a href="/qingfeng-blog/2021/08/17/Linux/Rsync%E5%AE%9A%E6%97%B6%E5%90%8C%E6%AD%A5+%E5%BC%82%E5%9C%B0%E5%A4%87%E4%BB%BD/#more">Read More</a>
        </p>
      
    </div>
    <footer class="article-footer">
      
      
      
      

    </footer>
  </div>
</div>
  
</article>

<!-- Table of Contents -->



  
    <article id="post-Mysql/MySql开启SSL安全认证"  class="article article-type-post" itemscope itemprop="blogPost" >
<div id="container">
  <div id="articleInner" class="article-inner">
    
    
      <header class="article-header">
        
  
    <h1 class="thumb" itemprop="name">
      <a class="article-title" href="/qingfeng-blog/2021/07/08/Mysql/MySql%E5%BC%80%E5%90%AFSSL%E5%AE%89%E5%85%A8%E8%AE%A4%E8%AF%81/">MySql开启SSL安全认证</a>
    </h1>
  

      </header>
    
    <div class="article-meta">
      
	<a href="/qingfeng-blog/2021/07/08/Mysql/MySql%E5%BC%80%E5%90%AFSSL%E5%AE%89%E5%85%A8%E8%AE%A4%E8%AF%81/" class="article-date">
	  <time datetime="2021-07-08T06:46:16.000Z" itemprop="datePublished">2021-07-08</time>
	</a>

      
    <a class="article-category-link" href="/qingfeng-blog/categories/Linux/">Linux</a>

      
      

    </div>
    <div class="article-entry" itemprop="articleBody">
      
        <p class="article-excerpt-content">
          MySql之开启SSL安全认证【思考】：为什么要开启ssl认证？
SSL（Secure Socket Layer：安全套接字层）利用数据加密、身份验证和消息完整性验证机制，为基于TCP等可靠连接的应用层协议提供安全性保证。

SSL协议提供的功能主要有：
1、 数据传输的机密性：利用对称密钥算法对传输的数据进行加密。      2.、身份验证机制：基于证书利用数字签名方法对服务器和客户端进行身份验证，其中客户端的身份验证是可选的。      3、 消息完整性验证：消息传输过程中使用MAC算...
        </p>
        <p class="article-more-link">
          <a href="/qingfeng-blog/2021/07/08/Mysql/MySql%E5%BC%80%E5%90%AFSSL%E5%AE%89%E5%85%A8%E8%AE%A4%E8%AF%81/#more">Read More</a>
        </p>
      
    </div>
    <footer class="article-footer">
      
      
      
      

    </footer>
  </div>
</div>
  
</article>

<!-- Table of Contents -->



  
    <article id="post-Springboot/SM4加解密（前后端）"  class="article article-type-post" itemscope itemprop="blogPost" >
<div id="container">
  <div id="articleInner" class="article-inner">
    
    
      <header class="article-header">
        
  
    <h1 class="thumb" itemprop="name">
      <a class="article-title" href="/qingfeng-blog/2021/06/28/Springboot/SM4%E5%8A%A0%E8%A7%A3%E5%AF%86%EF%BC%88%E5%89%8D%E5%90%8E%E7%AB%AF%EF%BC%89/">SM4加解密</a>
    </h1>
  

      </header>
    
    <div class="article-meta">
      
	<a href="/qingfeng-blog/2021/06/28/Springboot/SM4%E5%8A%A0%E8%A7%A3%E5%AF%86%EF%BC%88%E5%89%8D%E5%90%8E%E7%AB%AF%EF%BC%89/" class="article-date">
	  <time datetime="2021-06-28T02:51:10.000Z" itemprop="datePublished">2021-06-28</time>
	</a>

      
    <a class="article-category-link" href="/qingfeng-blog/categories/Java/">Java</a>

      
      

    </div>
    <div class="article-entry" itemprop="articleBody">
      
        <p class="article-excerpt-content">
          SM4加解密（前后端）java与js前后端加解密（亲测有效）
1、Sm4工具类1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051...
        </p>
        <p class="article-more-link">
          <a href="/qingfeng-blog/2021/06/28/Springboot/SM4%E5%8A%A0%E8%A7%A3%E5%AF%86%EF%BC%88%E5%89%8D%E5%90%8E%E7%AB%AF%EF%BC%89/#more">Read More</a>
        </p>
      
    </div>
    <footer class="article-footer">
      
      
      
      

    </footer>
  </div>
</div>
  
</article>

<!-- Table of Contents -->



  
    <article id="post-Nginx/Nginx配置Https"  class="article article-type-post" itemscope itemprop="blogPost" >
<div id="container">
  <div id="articleInner" class="article-inner">
    
    
      <header class="article-header">
        
  
    <h1 class="thumb" itemprop="name">
      <a class="article-title" href="/qingfeng-blog/2021/05/23/Nginx/Nginx%E9%85%8D%E7%BD%AEHttps/">Nginx配置Https</a>
    </h1>
  

      </header>
    
    <div class="article-meta">
      
	<a href="/qingfeng-blog/2021/05/23/Nginx/Nginx%E9%85%8D%E7%BD%AEHttps/" class="article-date">
	  <time datetime="2021-05-23T13:17:36.000Z" itemprop="datePublished">2021-05-23</time>
	</a>

      
    <a class="article-category-link" href="/qingfeng-blog/categories/Nginx/">Nginx</a>

      
      

    </div>
    <div class="article-entry" itemprop="articleBody">
      
        <p class="article-excerpt-content">
          Nginx配置Https（安全认证）1、Http与Https的区别HTTP：是互联网上应用最为广泛的一种网络协议，是一个客户端和服务器端请求和应答的标准（TCP），用于从WWW服务器传输超文本到本地浏览器的传输协议，它可以使浏览器更加高效，使网络传输减少。
HTTPS：是以安全为目标的HTTP通道，简单讲是HTTP的安全版，即HTTP下加入SSL层，HTTPS的安全基础是SSL，因此加密的详细内容就需要SSL。HTTPS协议的主要作用可以分为两种：一种是建立一个信息安全通道，来保证数据传输...
        </p>
        <p class="article-more-link">
          <a href="/qingfeng-blog/2021/05/23/Nginx/Nginx%E9%85%8D%E7%BD%AEHttps/#more">Read More</a>
        </p>
      
    </div>
    <footer class="article-footer">
      
      
      
      

    </footer>
  </div>
</div>
  
</article>

<!-- Table of Contents -->



  
    <article id="post-运维安装/Linux安装nginx"  class="article article-type-post" itemscope itemprop="blogPost" >
<div id="container">
  <div id="articleInner" class="article-inner">
    
    
      <header class="article-header">
        
  
    <h1 class="thumb" itemprop="name">
      <a class="article-title" href="/qingfeng-blog/2021/05/23/%E8%BF%90%E7%BB%B4%E5%AE%89%E8%A3%85/Linux%E5%AE%89%E8%A3%85nginx/">Linux安装nginx</a>
    </h1>
  

      </header>
    
    <div class="article-meta">
      
	<a href="/qingfeng-blog/2021/05/23/%E8%BF%90%E7%BB%B4%E5%AE%89%E8%A3%85/Linux%E5%AE%89%E8%A3%85nginx/" class="article-date">
	  <time datetime="2021-05-23T10:09:18.000Z" itemprop="datePublished">2021-05-23</time>
	</a>

      
    <a class="article-category-link" href="/qingfeng-blog/categories/Linux/">Linux</a>

      
      

    </div>
    <div class="article-entry" itemprop="articleBody">
      
        <p class="article-excerpt-content">
          Linux安装nginx
Nginx的安装可分为两种：
1、通过Nginx源码安装
2、通过yum安装

一、下面通过源码安装：
通过源码安装需要提前安装好GCC编译器、PCRE兼容正则表达式库、zlib压缩库、OpenSSL安全通信的软件库包，然后才能进行Nginx的安装
1、通过一条指令全部安装：
1yum install -y gcc pcre pcre-devel zlib zlib-devel openssl openssl-devel

2、下载好安装包
1wget http:...
        </p>
        <p class="article-more-link">
          <a href="/qingfeng-blog/2021/05/23/%E8%BF%90%E7%BB%B4%E5%AE%89%E8%A3%85/Linux%E5%AE%89%E8%A3%85nginx/#more">Read More</a>
        </p>
      
    </div>
    <footer class="article-footer">
      
      
      
      

    </footer>
  </div>
</div>
  
</article>

<!-- Table of Contents -->



  


  <nav id="page-nav">
    <!--  -->
    
    <a class="extend prev" rel="prev" href="/qingfeng-blog/page/2/">Prev</a><a class="page-number" href="/qingfeng-blog/">1</a><a class="page-number" href="/qingfeng-blog/page/2/">2</a><span class="page-number current">3</span><a class="page-number" href="/qingfeng-blog/page/4/">4</a><a class="extend next" rel="next" href="/qingfeng-blog/page/4/">Next</a>
  </nav>

</section>
        
      </div>
      
        <div align="center" style="margin-top: 30px;"><hr class="hr" style="margin:0px; height:3px;"></div>
      
      <footer id="footer">
  

  <div class="container">
      	<div class="row">
	      <!-- <p> Powered by <a href="http://hexo.io/" target="_blank">Hexo</a> and <a href="https://github.com/iTimeTraveler/hexo-theme-hiker" target="_blank">Hexo-theme-hiker</a> </p> -->
	      <p>May there be no bug in the world！</p>
        <p id="copyRightEn">Copyright &copy; 2022 - 2023 All Rights Reserved.</p>
	      
	      
    		<p class="busuanzi_uv">
				UV : <span id="busuanzi_value_site_uv"></span> |  
				PV : <span id="busuanzi_value_site_pv"></span>
		    </p>
  		   
		</div>

		
  </div>
</footer>


<!-- min height -->

<script>
    var wrapdiv = document.getElementById("wrap");
    var contentdiv = document.getElementById("content");
    var allheader = document.getElementById("allheader");

    wrapdiv.style.minHeight = document.body.offsetHeight + "px";
    if (allheader != null) {
      contentdiv.style.minHeight = document.body.offsetHeight - allheader.offsetHeight - document.getElementById("footer").offsetHeight + "px";
    } else {
      contentdiv.style.minHeight = document.body.offsetHeight - document.getElementById("footer").offsetHeight + "px";
    }
</script>
    </div>
    <!-- <nav id="mobile-nav">
  
    <a href="/qingfeng-blog/" class="mobile-nav-link">首页</a>
  
    <a href="/qingfeng-blog/categories" class="mobile-nav-link">分类</a>
  
    <a href="/qingfeng-blog/tags" class="mobile-nav-link">标签</a>
  
</nav> -->
    

<!-- mathjax config similar to math.stackexchange -->

<script type="text/x-mathjax-config">
  MathJax.Hub.Config({
    tex2jax: {
      inlineMath: [ ['$','$'], ["\\(","\\)"] ],
      processEscapes: true
    }
  });
</script>

<script type="text/x-mathjax-config">
    MathJax.Hub.Config({
      tex2jax: {
        skipTags: ['script', 'noscript', 'style', 'textarea', 'pre', 'code']
      }
    });
</script>

<script type="text/x-mathjax-config">
    MathJax.Hub.Queue(function() {
        var all = MathJax.Hub.getAllJax(), i;
        for(i=0; i < all.length; i += 1) {
            all[i].SourceElement().parentNode.className += ' has-jax';
        }
    });
</script>

<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.1/MathJax.js?config=TeX-AMS-MML_HTMLorMML">
</script>


  
<link rel="stylesheet" href="/qingfeng-blog/fancybox/jquery.fancybox.css">

  
<script src="/qingfeng-blog/fancybox/jquery.fancybox.pack.js"></script>




<script src="/qingfeng-blog/js/scripts.js"></script>



  
<script src="/qingfeng-blog/js/home.js"></script>











	<div style="display: none;">
    <script src="https://s95.cnzz.com/z_stat.php?id=1260716016&web_id=1260716016" language="JavaScript"></script>
  </div>



	<script async src="//busuanzi.ibruce.info/busuanzi/2.3/busuanzi.pure.mini.js">
	</script>






  </div>

  <div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true" style="display: none;">
  <div class="modal-dialog">
    <div class="modal-content">
      <div class="modal-header">
        <h2 class="modal-title" id="myModalLabel">设置</h2>
      </div>
      <hr style="margin-top:0px; margin-bottom:0px; width:80%; border-top: 3px solid #000;">
      <hr style="margin-top:2px; margin-bottom:0px; width:80%; border-top: 1px solid #000;">


      <div class="modal-body">
          <div style="margin:6px;">
            <a data-toggle="collapse" data-parent="#accordion" href="#collapseOne" onclick="javascript:setFontSize();" aria-expanded="true" aria-controls="collapseOne">
              正文字号大小
            </a>
          </div>
          <div id="collapseOne" class="panel-collapse collapse" role="tabpanel" aria-labelledby="headingOne">
          <div class="panel-body">
            您已调整页面字体大小
          </div>
        </div>
      


          <div style="margin:6px;">
            <a data-toggle="collapse" data-parent="#accordion" href="#collapseTwo" onclick="javascript:setBackground();" aria-expanded="true" aria-controls="collapseTwo">
              夜间护眼模式
            </a>
        </div>
          <div id="collapseTwo" class="panel-collapse collapse" role="tabpanel" aria-labelledby="headingTwo">
          <div class="panel-body">
            夜间模式已经开启，再次单击按钮即可关闭 
          </div>
        </div>

        <div>
            <a data-toggle="collapse" data-parent="#accordion" href="#collapseThree" aria-expanded="true" aria-controls="collapseThree">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;关 于&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</a>
        </div>
         <div id="collapseThree" class="panel-collapse collapse" role="tabpanel" aria-labelledby="headingThree">
          <div class="panel-body">
            清峰小栈
          </div>
          <div class="panel-body">
            Copyright © 2023 清峰 All Rights Reserved.
          </div>
        </div>
      </div>


      <hr style="margin-top:0px; margin-bottom:0px; width:80%; border-top: 1px solid #000;">
      <hr style="margin-top:2px; margin-bottom:0px; width:80%; border-top: 3px solid #000;">
      <div class="modal-footer">
        <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
      </div>
    </div>
  </div>
</div>
  
  <a id="rocket" href="#top" class=""></a>
  <script type="text/javascript" src="/qingfeng-blog/js/totop.js?v=1.0.0" async=""></script>
  
</body>
</html>